mysql = /usr/include/mysql/
includ = ./include/
cpp = ./client/*.c
app = main

$(app) : $(cpp)
	gcc -w -I$(mysql) -I$(includ) $^ -lmysqlclient -lpthread -o $@

.PHONY: clean

clean :
	rm $(app)
